package cn.yunhe.service.serviceImpl;

import cn.yunhe.dao.FieldDao;
import cn.yunhe.entity.Field;
import cn.yunhe.service.FieldService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("fieldService")
public class FieldServiceImpl implements FieldService {
    @Autowired
    @Qualifier("fieldDao")
    private FieldDao fieldDao;
    @Override
    public List<Field> getAllField() {
        return fieldDao.getAllField();
    }
}
